package com.geostar.constructionland.attachment;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @author yell
 * @since 2020
 */
@SpringBootApplication(scanBasePackages = "com.geostar")
@EnableEurekaClient
@MapperScan("com.geostar.constructionland.*.mapper")
@EnableDiscoveryClient
@ServletComponentScan
public class AttachmentApplication {
    public static void main(String[] args) {
        SpringApplication.run(AttachmentApplication.class, args);
    }
}
